import React, { Component } from 'react'
import '../../styles/会员购/notice.css'

import store from '../../store/index.js'
export default class MyNotice extends Component {
    state={
        text:store.getState().indexm.text
    }
    render() {
        return (
            <div className='notice'>
                <i className='iconfont icon-shengyin'></i>
                <span>{this.state.text}</span>
            </div>
        )
    }
}
